package edu.bw.service;

import edu.bw.po.Product;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface ProductService {
    void updateProduct(Product product);

    List<Product> findAllProducts();

    void deleteProductById(int pid);
}
